package com.wcards.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author 大黑
 */
@ApiModel("用户信息表")
@Data
@TableName("user_info")
public class UserInfo implements Serializable {
    @TableId(value = "user_id", type = IdType.AUTO)
    @ApiModelProperty("用户Id")
    private Integer userId;
    @ApiModelProperty("用户名称")
    private String userName;
    @ApiModelProperty("用户密码")
    private String userPassword;
    @ApiModelProperty("用户状态，1启用，0禁用")
    private Integer userStatus;
    @ApiModelProperty("联系电话")
    private String phone;
    @ApiModelProperty("头像")
    private String headSculpture;
    @ApiModelProperty("性别：1是男，0是女")
    private Integer sex;
    @ApiModelProperty("年龄")
    private Integer age;
    @ApiModelProperty("身份")
    private Integer userRole;
}
